package com.fh.config;


import com.fh.model.IndexImg;
import com.fh.model.Users;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "img-query",fallback = IndexImgClientFallback.class)
public interface IndexImgClient {

    @GetMapping("img/query")
    public List<IndexImg> query();

}
